-- 加载os模块
local os = os
local json = require("script/json")
local function readJson(path)
    local file = io.open(path, 'r')
    if file then
        local content = file:read("*a")
        file:close()
        return json.decode(content)
    end
end

local oldFiles = readJson('./content/kkbt/sum.old.json')

for _,file in ipairs(oldFiles) do
    print(file.path,file.mtime,file.size)
end